package com.platform.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 春芽社区故事实体
 * 表名 nideshop_posts
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-11-03 11:24:17
 */
public class PostsVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Integer id;
    //用户id
    private Integer userId;
    //发帖ip
    private String ip;
    //城市
    private String city;
    //阅读数
    private Integer viewCount;
    //收藏数
    private Integer collectCount;
    //标题
    private String title;
    //内容
    private String contentDesc;
    //是否置顶：0-申请；1-同意；2-拒绝
    private Integer isTop;
    //点赞数量
    private Integer likeCount;
    //是否推荐：0-否；1-是
    private Integer isRecommend;
    //是否热门：0-否；1-是
    private Integer isHot;
    //是否被管理员批准显示;1是;0未批准显示
    private Integer status;
    //创建时间
    private Date addTime;
    //发帖用户信息
    private UserVo userInfo;
    //评论数量
    private Integer commentCount;
    //最新评论
    private PostsCommentVo postsCommentVo;
    //相对时间
    private String relativeDate;
    //是否已经收藏:1-是；0-否
    private Integer isCollected = 0;
    //是否已经点赞：1-是；0-否
    private Integer isLiked = 0;
    //图片/视频列表
    private List<PostsPictureVo> postsPictureVos;
    //资源类型：1-图片；2-视频
    private Integer resourceType;

    public Integer getResourceType() {
        return resourceType;
    }

    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }

    public List<PostsPictureVo> getPostsPictureVos() {
        return postsPictureVos;
    }

    public void setPostsPictureVos(List<PostsPictureVo> postsPictureVos) {
        this.postsPictureVos = postsPictureVos;
    }

    public Integer getIsLiked() {
        return isLiked;
    }

    public void setIsLiked(Integer isLiked) {
        this.isLiked = isLiked;
    }

    public Integer getIsCollected() {
        return isCollected;
    }

    public void setIsCollected(Integer isCollected) {
        this.isCollected = isCollected;
    }

    public Integer getCollectCount() {
        return collectCount;
    }

    public void setCollectCount(Integer collectCount) {
        this.collectCount = collectCount;
    }

    public String getRelativeDate() {
        return relativeDate;
    }

    public void setRelativeDate(String relativeDate) {
        this.relativeDate = relativeDate;
    }

    public UserVo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserVo userInfo) {
        this.userInfo = userInfo;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public PostsCommentVo getPostsCommentVo() {
        return postsCommentVo;
    }

    public void setPostsCommentVo(PostsCommentVo postsCommentVo) {
        this.postsCommentVo = postsCommentVo;
    }

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取：用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置：发帖ip
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * 获取：发帖ip
     */
    public String getIp() {
        return ip;
    }

    /**
     * 设置：城市
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * 获取：城市
     */
    public String getCity() {
        return city;
    }

    /**
     * 设置：阅读数
     */
    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    /**
     * 获取：阅读数
     */
    public Integer getViewCount() {
        return viewCount;
    }

    /**
     * 设置：标题
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取：标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置：内容
     */
    public void setContentDesc(String contentDesc) {
        this.contentDesc = contentDesc;
    }

    /**
     * 获取：内容
     */
    public String getContentDesc() {
        return contentDesc;
    }

    /**
     * 设置：是否置顶：0-申请；1-同意；2-拒绝
     */
    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    /**
     * 获取：是否置顶：0-申请；1-同意；2-拒绝
     */
    public Integer getIsTop() {
        return isTop;
    }

    /**
     * 设置：点赞数量
     */
    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    /**
     * 获取：点赞数量
     */
    public Integer getLikeCount() {
        return likeCount;
    }

    /**
     * 设置：是否推荐：0-否；1-是
     */
    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    /**
     * 获取：是否推荐：0-否；1-是
     */
    public Integer getIsRecommend() {
        return isRecommend;
    }

    /**
     * 设置：是否热门：0-否；1-是
     */
    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    /**
     * 获取：是否热门：0-否；1-是
     */
    public Integer getIsHot() {
        return isHot;
    }

    /**
     * 设置：是否被管理员批准显示;1是;0未批准显示
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取：是否被管理员批准显示;1是;0未批准显示
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置：创建时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：创建时间
     */
    public Date getAddTime() {
        return addTime;
    }
}
